Component({
  properties:{
    id: String,
    title:String
  },
  data:{
    name:'tom'
  },
  methods:{
    updateName(){
      this.setData({
        name: 'jerry'
      })
    },
    onLoad(options){
      console.log('页面加载 =2')
      console.log(options)
      console.log(this.data.id)
      console.log(this.properties.id)
      console.log(this.data.title)
    }
  }
})